package lab02.Test10;

public class BeiJingPeople extends ChinaPeople {
    //属性
    String language;
    String color;
    String  height;

    public void setLanguage(String language) {
        this.language = language;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public static void main(String[] args) {
        BeiJingPeople C=new BeiJingPeople();
        C.language="beijinghua";
        C.color="wyellow";
        C.height="180cm";
        System.out.println(C.language);
        System.out.println(C.color);
        System.out.println(C.height);
    }
}